home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / cbibcode.arc / INSLINE.C < prev    next >
Encoding:
C/C++ Source or Header  |  1991-08-05  |  407 b   |  22 lines

  1. /* p884.c --- bible */
  2. #include <conio.h>
  3. char text[] = "Testing insline. Press any key to go on.";
  4. main()
  5. {
  6.     int i, nlines = 11;
  7.     window(20, 10, 60, 10 + nlines - 1);
  8.     textbackground(BROWN);
  9.     clrscr();
  10.     textcolor(LIGHTMAGENTA);
  11.     for(i = 1; i <= nlines; i++)
  12.     {
  13.         gotoxy(1, i);
  14.         cputs(text);
  15.     }
  16.     gotoxy(1, nlines / 2);
  17.     for(i = 0; i <= nlines / 2; i++)
  18.     {
  19.         getch();
  20.         insline();
  21.     }
  22. }